package com.sword.pojo.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String deptid;
    private String employeeid;
    private String password;
    private String Employee_Name;
    private String Duty;
    private String Gender;
    private Date BirthDate;
    private Date HireDate;
    private Date MatureDate;
    private String Phone;
    private String Address;
    private String Email;

    public Employee(String deptid, String employeeid, String password, String employee_Name, String duty, String gender, Date birthDate, Date hireDate, Date matureDate, String phone, String address, String email) {
        this.deptid = deptid;
        this.employeeid = employeeid;
        this.password = password;
        Employee_Name = employee_Name;
        Duty = duty;
        Gender = gender;
        BirthDate = birthDate;
        HireDate = hireDate;
        MatureDate = matureDate;
        Phone = phone;
        Address = address;
        Email = email;
    }
}
